package cn.xiyun.xiyuncc.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class RegisterDto {
    /** 图形验证码 */
    @NotBlank(message = "图形验证码为空请重新输入")
    private String imageCode;
    /** 电话号码 */
    @NotBlank(message = "电话为空请重新输入")
    private String mobile;
    /** 密码 */
    @NotBlank(message = "密码为空请重新输入")
    private String password;
    /** 短信验证码 */
    @NotBlank(message = "短信验证码为空请重新输入")
    private String smsCode;

    private String regChannel;
}
